package com.shop.mapper;

import com.shop.entity.MerchantMerchant;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface ApplyMapper {

    MerchantMerchant getApplyInfoByUserId(int userId);

    void addApply(MerchantMerchant merchant);

    void updateUser(@Param("id") Integer userId,@Param("applyId") Integer applyId);
}
